﻿using System.Text.Json;
using DAQ.Config;
using DAQ.ModbusModule;
using DAQ.MqttModule;

namespace DAQ
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello, World!");

            DaqOptionBuilder builder = new DaqOptionBuilder();
            var option = builder.Build();

            DaqService service = new DaqService(option);
            service.Start();

            Console.ReadKey();
        }
    }
}
